package com.cyx.exam.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cyx.exam.entity.Class;
import com.cyx.exam.entity.Exam;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author cyx
 * @since 2021-03-09
 */
public interface ExamService extends IService<Exam> {
    IPage<Exam> selectByPage(int start, int size);//分页显示全部
    IPage<Exam> searchByPage(int start, int size, String name);//按name分页查询
    public int delete(Integer id);
    public int score(Integer id);
}
